package DoublyLinked;

/**
 * Created by sunwei on 2017/10/10
 * Time:17:31
 */
public class Link {

    public long dData;
    public Link next;//定义下一个节点
    public Link previous;//定义上一个节点

    /*
    构造函数
     */
    public Link(long dData) {
        this.dData = dData;
    }
    /*
    显示链表
     */
    public void displayLink(){
        System.out.print(dData+" ");
    }
}
